package com.faker.core.generate.data.code.en;

import com.github.javafaker.Faker;
import com.github.javafaker.Name;

import java.util.Locale;

/**
 * 英文数据生成
 */
public class GenerationDataEn {
    void fakerGeneration() {
        Faker faker = new Faker(new Locale("en"));
        Name name = faker.name();
        System.out.println(name.fullName());//全名：Keira Keeling DDS
        System.out.println(name.firstName());//姓：Eric
        System.out.println(name.lastName());//名：Jenkins
        System.out.println(name.username());//用户名：lakesha.robel
        System.out.println(name.title());//职位：Legacy Markets Orchestrator
        System.out.println(name.prefix());//Miss
        System.out.println(name.suffix());//Jr.




    }

}
